<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>gozerlib.plugs.userstate &mdash; GOZERWAVE v0.1 BETA documentation</title>
    <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '0.1 BETA',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <link rel="top" title="GOZERWAVE v0.1 BETA documentation" href="../../index.html" />
    <link rel="next" title="gozerlib.threads" href="../threads/index.html" />
    <link rel="prev" title="gozerlib.plugs.user" href="user.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../../modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="../threads/index.html" title="gozerlib.threads"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="user.html" title="gozerlib.plugs.user"
             accesskey="P">previous</a> |</li>
        <li><a href="../../index.html">GOZERWAVE v0.1 BETA documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-gozerlib.plugs.userstate">
<h1>gozerlib.plugs.userstate<a class="headerlink" href="#module-gozerlib.plugs.userstate" title="Permalink to this headline">¶</a></h1>
<p>userstate is stored in gozerdata/userstates.</p>
<dl class="function">
<dt id="gozerlib.plugs.userstate.handle_unset">
<tt class="descclassname">gozerlib.plugs.userstate.</tt><tt class="descname">handle_unset</tt><big>(</big><em>bot</em>, <em>ievent</em><big>)</big><a class="headerlink" href="#gozerlib.plugs.userstate.handle_unset" title="Permalink to this definition">¶</a></dt>
<dd>remove value from user state of the user giving the command.</dd></dl>

<dl class="function">
<dt id="gozerlib.plugs.userstate.handle_userstate">
<tt class="descclassname">gozerlib.plugs.userstate.</tt><tt class="descname">handle_userstate</tt><big>(</big><em>bot</em>, <em>ievent</em><big>)</big><a class="headerlink" href="#gozerlib.plugs.userstate.handle_userstate" title="Permalink to this definition">¶</a></dt>
<dd>let the user manage its own state.</dd></dl>

<dl class="function">
<dt id="gozerlib.plugs.userstate.handle_userstatedel">
<tt class="descclassname">gozerlib.plugs.userstate.</tt><tt class="descname">handle_userstatedel</tt><big>(</big><em>bot</em>, <em>ievent</em><big>)</big><a class="headerlink" href="#gozerlib.plugs.userstate.handle_userstatedel" title="Permalink to this definition">¶</a></dt>
<dd>remove value from user state.</dd></dl>

<dl class="function">
<dt id="gozerlib.plugs.userstate.handle_userstateget">
<tt class="descclassname">gozerlib.plugs.userstate.</tt><tt class="descname">handle_userstateget</tt><big>(</big><em>bot</em>, <em>ievent</em><big>)</big><a class="headerlink" href="#gozerlib.plugs.userstate.handle_userstateget" title="Permalink to this definition">¶</a></dt>
<dd>get state of a user.</dd></dl>

<dl class="function">
<dt id="gozerlib.plugs.userstate.handle_userstateset">
<tt class="descclassname">gozerlib.plugs.userstate.</tt><tt class="descname">handle_userstateset</tt><big>(</big><em>bot</em>, <em>ievent</em><big>)</big><a class="headerlink" href="#gozerlib.plugs.userstate.handle_userstateset" title="Permalink to this definition">¶</a></dt>
<dd>set the userstate of a user.</dd></dl>

<div class="section" id="code">
<h2>code<a class="headerlink" href="#code" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><table class="highlighttable"><tr><td class="linenos"><pre>  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138</pre></td><td class="code"><div class="highlight"><pre><span class="c"># gozerbot/plugs/userstate.py</span>
<span class="c">#</span>
<span class="c">#</span>

<span class="sd">&quot;&quot;&quot; userstate is stored in gozerdata/userstates. &quot;&quot;&quot;</span>

<span class="c"># gozerlib imports</span>

<span class="kn">from</span> <span class="nn">gozerlib.commands</span> <span class="kn">import</span> <span class="n">cmnds</span>
<span class="kn">from</span> <span class="nn">gozerlib.examples</span> <span class="kn">import</span> <span class="n">examples</span>
<span class="kn">from</span> <span class="nn">gozerlib.persist.persiststate</span> <span class="kn">import</span> <span class="n">UserState</span>
<span class="kn">from</span> <span class="nn">gozerlib.users</span> <span class="kn">import</span> <span class="n">GozerUsers</span>
<span class="kn">from</span> <span class="nn">gozerlib.aliases</span> <span class="kn">import</span> <span class="n">aliasset</span>

<span class="k">def</span> <span class="nf">handle_userstate</span><span class="p">(</span><span class="n">bot</span><span class="p">,</span> <span class="n">ievent</span><span class="p">):</span>

    <span class="sd">&quot;&quot;&quot; let the user manage its own state. &quot;&quot;&quot;</span>

    <span class="k">try</span><span class="p">:</span>
        <span class="p">(</span><span class="n">item</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span> <span class="o">=</span> <span class="n">ievent</span><span class="o">.</span><span class="n">args</span>
    <span class="k">except</span> <span class="ne">ValueError</span><span class="p">:</span>
        <span class="n">item</span> <span class="o">=</span> <span class="n">value</span> <span class="o">=</span> <span class="bp">None</span>

    <span class="n">users</span> <span class="o">=</span> <span class="n">GozerUsers</span><span class="p">()</span>
    <span class="n">username</span> <span class="o">=</span> <span class="n">users</span><span class="o">.</span><span class="n">getname</span><span class="p">(</span><span class="n">ievent</span><span class="o">.</span><span class="n">userhost</span><span class="p">)</span>
    <span class="n">userstate</span> <span class="o">=</span> <span class="n">UserState</span><span class="p">(</span><span class="n">username</span><span class="p">)</span>
    <span class="k">if</span> <span class="n">item</span> <span class="ow">and</span> <span class="n">value</span><span class="p">:</span>
        <span class="n">userstate</span><span class="p">[</span><span class="n">item</span><span class="p">]</span> <span class="o">=</span> <span class="n">value</span>
        <span class="n">userstate</span><span class="o">.</span><span class="n">save</span><span class="p">()</span>

    <span class="n">result</span> <span class="o">=</span> <span class="p">[]</span>
    <span class="k">for</span> <span class="n">i</span><span class="p">,</span> <span class="n">j</span> <span class="ow">in</span> <span class="n">userstate</span><span class="o">.</span><span class="n">data</span><span class="o">.</span><span class="n">iteritems</span><span class="p">():</span>
        <span class="n">result</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="s">&quot;</span><span class="si">%s</span><span class="s">=</span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">i</span><span class="p">,</span> <span class="n">j</span><span class="p">))</span>

    <span class="k">if</span> <span class="n">result</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&quot;userstate of </span><span class="si">%s</span><span class="s">: &quot;</span> <span class="o">%</span> <span class="n">username</span><span class="p">,</span> <span class="n">result</span><span class="p">,</span> <span class="n">dot</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;no userstate of </span><span class="si">%s</span><span class="s"> known&#39;</span> <span class="o">%</span> <span class="n">username</span><span class="p">)</span>

<span class="n">cmnds</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate&#39;</span><span class="p">,</span> <span class="n">handle_userstate</span><span class="p">,</span> <span class="s">&#39;USER&#39;</span><span class="p">)</span>
<span class="n">examples</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate&#39;</span><span class="p">,</span> <span class="s">&#39;get or set userstate&#39;</span><span class="p">,</span> <span class="s">&#39;1) userstate 2) userstate TZ -1&#39;</span><span class="p">)</span>
<span class="n">aliasset</span><span class="p">(</span><span class="s">&#39;set&#39;</span><span class="p">,</span> <span class="s">&#39;userstate&#39;</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">handle_userstateget</span><span class="p">(</span><span class="n">bot</span><span class="p">,</span> <span class="n">ievent</span><span class="p">):</span>

    <span class="sd">&quot;&quot;&quot; get state of a user. &quot;&quot;&quot;</span>

    <span class="k">if</span> <span class="ow">not</span> <span class="n">ievent</span><span class="o">.</span><span class="n">rest</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">missing</span><span class="p">(</span><span class="s">&#39;&lt;username&gt;&#39;</span><span class="p">)</span>
        <span class="k">return</span>

    <span class="n">userstate</span> <span class="o">=</span> <span class="n">UserState</span><span class="p">(</span><span class="n">ievent</span><span class="o">.</span><span class="n">rest</span><span class="p">)</span>
    <span class="n">result</span> <span class="o">=</span> <span class="p">[]</span>
    <span class="k">for</span> <span class="n">i</span><span class="p">,</span> <span class="n">j</span> <span class="ow">in</span> <span class="n">userstate</span><span class="o">.</span><span class="n">data</span><span class="o">.</span><span class="n">iteritems</span><span class="p">():</span>
        <span class="n">result</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="s">&quot;</span><span class="si">%s</span><span class="s">=</span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="p">(</span><span class="n">i</span><span class="p">,</span> <span class="n">j</span><span class="p">))</span>

    <span class="k">if</span> <span class="n">result</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&quot;userstate of </span><span class="si">%s</span><span class="s">: &quot;</span> <span class="o">%</span> <span class="n">ievent</span><span class="o">.</span><span class="n">rest</span><span class="p">,</span> <span class="n">result</span><span class="p">,</span> <span class="n">dot</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;no userstate of </span><span class="si">%s</span><span class="s"> known&#39;</span> <span class="o">%</span> <span class="n">ievent</span><span class="o">.</span><span class="n">rest</span><span class="p">)</span>

<span class="n">cmnds</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate-get&#39;</span><span class="p">,</span> <span class="n">handle_userstateget</span><span class="p">,</span> <span class="s">&#39;OPER&#39;</span><span class="p">)</span>
<span class="n">examples</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate-get&#39;</span><span class="p">,</span> <span class="s">&#39;get the userstate of another user&#39;</span><span class="p">,</span> <span class="s">&#39;userstate-get dunker&#39;</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">handle_userstateset</span><span class="p">(</span><span class="n">bot</span><span class="p">,</span> <span class="n">ievent</span><span class="p">):</span>

    <span class="sd">&quot;&quot;&quot; set the userstate of a user. &quot;&quot;&quot;</span>

    <span class="k">try</span><span class="p">:</span>
        <span class="p">(</span><span class="n">username</span><span class="p">,</span> <span class="n">item</span><span class="p">,</span> <span class="n">value</span><span class="p">)</span> <span class="o">=</span> <span class="n">ievent</span><span class="o">.</span><span class="n">args</span>
    <span class="k">except</span> <span class="ne">ValueError</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">missing</span><span class="p">(</span><span class="s">&#39;&lt;username&gt; &lt;item&gt; &lt;value&gt;&#39;</span><span class="p">)</span>
        <span class="k">return</span>

    <span class="n">userstate</span> <span class="o">=</span> <span class="n">UserState</span><span class="p">(</span><span class="n">username</span><span class="p">)</span>
    <span class="n">userstate</span><span class="p">[</span><span class="n">item</span><span class="p">]</span> <span class="o">=</span> <span class="n">value</span>
    <span class="n">userstate</span><span class="o">.</span><span class="n">save</span><span class="p">()</span>
    <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;userstate </span><span class="si">%s</span><span class="s"> set to </span><span class="si">%s</span><span class="s">&#39;</span> <span class="o">%</span> <span class="p">(</span><span class="n">item</span><span class="p">,</span> <span class="n">value</span><span class="p">))</span>

<span class="n">cmnds</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate-set&#39;</span><span class="p">,</span> <span class="n">handle_userstateset</span><span class="p">,</span> <span class="s">&#39;OPER&#39;</span><span class="p">)</span>
<span class="n">examples</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate-set&#39;</span><span class="p">,</span> <span class="s">&#39;set userstate variable of another user&#39;</span><span class="p">,</span> <span class="s">&#39;userstate-set dunker TZ -1&#39;</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">handle_userstatedel</span><span class="p">(</span><span class="n">bot</span><span class="p">,</span> <span class="n">ievent</span><span class="p">):</span>

    <span class="sd">&quot;&quot;&quot; remove value from user state. &quot;&quot;&quot;</span>

    <span class="n">username</span> <span class="o">=</span> <span class="bp">None</span>
    <span class="k">try</span><span class="p">:</span>
        <span class="p">(</span><span class="n">username</span><span class="p">,</span> <span class="n">item</span><span class="p">)</span>  <span class="o">=</span> <span class="n">ievent</span><span class="o">.</span><span class="n">args</span>
    <span class="k">except</span> <span class="ne">ValueError</span><span class="p">:</span>
        <span class="k">try</span><span class="p">:</span>
           <span class="n">item</span> <span class="o">=</span> <span class="n">ievent</span><span class="o">.</span><span class="n">args</span><span class="p">[</span><span class="mf">0</span><span class="p">]</span>
        <span class="k">except</span> <span class="ne">IndexError</span><span class="p">:</span>
            <span class="n">ievent</span><span class="o">.</span><span class="n">missing</span><span class="p">(</span><span class="s">&#39;[username] &lt;item&gt;&#39;</span><span class="p">)</span>
            <span class="k">return</span>

    <span class="k">if</span> <span class="ow">not</span> <span class="n">username</span><span class="p">:</span>
        <span class="n">users</span> <span class="o">=</span> <span class="n">GozerUsers</span><span class="p">()</span>
        <span class="n">username</span> <span class="o">=</span> <span class="n">users</span><span class="o">.</span><span class="n">getname</span><span class="p">(</span><span class="n">ievent</span><span class="o">.</span><span class="n">userhost</span><span class="p">)</span>

    <span class="n">userstate</span> <span class="o">=</span> <span class="n">UserState</span><span class="p">(</span><span class="n">username</span><span class="p">)</span>
    <span class="k">try</span><span class="p">:</span>
        <span class="k">del</span> <span class="n">userstate</span><span class="o">.</span><span class="n">data</span><span class="p">[</span><span class="n">item</span><span class="p">]</span>
    <span class="k">except</span> <span class="ne">KeyError</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;no such item&#39;</span><span class="p">)</span>
        <span class="k">return</span>

    <span class="n">userstate</span><span class="o">.</span><span class="n">save</span><span class="p">()</span>
    <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;item </span><span class="si">%s</span><span class="s"> deleted&#39;</span> <span class="o">%</span> <span class="n">item</span><span class="p">)</span>

<span class="n">cmnds</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate-del&#39;</span><span class="p">,</span> <span class="n">handle_userstatedel</span><span class="p">,</span> <span class="s">&#39;OPER&#39;</span><span class="p">)</span>
<span class="n">examples</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;userstate-del&#39;</span><span class="p">,</span> <span class="s">&#39;delete userstate variable&#39;</span><span class="p">,</span> <span class="s">&#39;1) userstate-del TZ 2) userstate-del dunker TZ&#39;</span><span class="p">)</span>

<span class="k">def</span> <span class="nf">handle_unset</span><span class="p">(</span><span class="n">bot</span><span class="p">,</span> <span class="n">ievent</span><span class="p">):</span>

    <span class="sd">&quot;&quot;&quot; remove value from user state of the user giving the command. &quot;&quot;&quot;</span>

    <span class="k">try</span><span class="p">:</span>
        <span class="n">item</span> <span class="o">=</span> <span class="n">ievent</span><span class="o">.</span><span class="n">args</span><span class="p">[</span><span class="mf">0</span><span class="p">]</span>
    <span class="k">except</span> <span class="ne">IndexError</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">missing</span><span class="p">(</span><span class="s">&#39;&lt;item&gt;&#39;</span><span class="p">)</span>
        <span class="k">return</span>
 
    <span class="n">users</span> <span class="o">=</span> <span class="n">GozerUsers</span><span class="p">()</span>
    <span class="n">username</span> <span class="o">=</span> <span class="n">users</span><span class="o">.</span><span class="n">getname</span><span class="p">(</span><span class="n">ievent</span><span class="o">.</span><span class="n">userhost</span><span class="p">)</span>
    <span class="n">userstate</span> <span class="o">=</span> <span class="n">UserState</span><span class="p">(</span><span class="n">username</span><span class="p">)</span>

    <span class="k">try</span><span class="p">:</span>
        <span class="k">del</span> <span class="n">userstate</span><span class="o">.</span><span class="n">data</span><span class="p">[</span><span class="n">item</span><span class="p">]</span>
    <span class="k">except</span> <span class="ne">KeyError</span><span class="p">:</span>
        <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;no such item&#39;</span><span class="p">)</span>
        <span class="k">return</span>

    <span class="n">userstate</span><span class="o">.</span><span class="n">save</span><span class="p">()</span>
    <span class="n">ievent</span><span class="o">.</span><span class="n">reply</span><span class="p">(</span><span class="s">&#39;item </span><span class="si">%s</span><span class="s"> deleted&#39;</span> <span class="o">%</span> <span class="n">item</span><span class="p">)</span>

<span class="n">cmnds</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;unset&#39;</span><span class="p">,</span> <span class="n">handle_unset</span><span class="p">,</span> <span class="s">&#39;USER&#39;</span><span class="p">)</span>
<span class="n">examples</span><span class="o">.</span><span class="n">add</span><span class="p">(</span><span class="s">&#39;unset&#39;</span><span class="p">,</span> <span class="s">&#39;delete userstate variable for user gving the command&#39;</span><span class="p">,</span> <span class="s">&#39;1) unset TZ&#39;</span><span class="p">)</span>
</pre></div>
</td></tr></table></div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h3><a href="../../index.html">Table Of Contents</a></h3>
            <ul>
<li><a class="reference external" href="">gozerlib.plugs.userstate</a><ul>
<li><a class="reference external" href="#code">code</a></li>
</ul>
</li>
</ul>

            <h4>Previous topic</h4>
            <p class="topless"><a href="user.html"
                                  title="previous chapter">gozerlib.plugs.user</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="../threads/index.html"
                                  title="next chapter">gozerlib.threads</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="../../_sources/gozerlib/plugs/userstate.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="../../search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../../modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="../threads/index.html" title="gozerlib.threads"
             >next</a> |</li>
        <li class="right" >
          <a href="user.html" title="gozerlib.plugs.user"
             >previous</a> |</li>
        <li><a href="../../index.html">GOZERWAVE v0.1 BETA documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2009, Bart Thate.
      Last updated on Nov 14, 2009.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
    </div>
  </body>
</html>